package com.wt.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 账号表
 * </p>
 *
 * @author wt
 * @since 2023-07-31
 */

public class WqunAccount implements Serializable {
    private int id;//
    private String phone;
    private String userName;
    private String nickName;
    private String sex;
    private String userType;
    private String email;
    private String avatar;
    private String pass;
    private String salt;
    private String isDelete;
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String modifiedTime;
    private String updateBy;


    public WqunAccount(int id, String phone, String userName, String nickName, String sex, String userType, String email, String avatar, String pass, String salt, String isDelete, String createBy, String createdTime, String modifiedTime, String updateBy) {
        this.id = id;
        this.phone = phone;
        this.userName = userName;
        this.nickName = nickName;
        this.sex = sex;
        this.userType = userType;
        this.email = email;
        this.avatar = avatar;
        this.pass = pass;
        this.salt = salt;
        this.isDelete = isDelete;
        this.createBy = createBy;
        this.createdTime = createdTime;
        this.modifiedTime = modifiedTime;
        this.updateBy = updateBy;
    }

    public WqunAccount() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(String modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public String toString() {
        return "WqunAccount{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", sex='" + sex + '\'' +
                ", userType='" + userType + '\'' +
                ", email='" + email + '\'' +
                ", avatar='" + avatar + '\'' +
                ", pass='" + pass + '\'' +
                ", salt='" + salt + '\'' +
                ", isDelete='" + isDelete + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createdTime=" + createdTime +
                ", modifiedTime=" + modifiedTime +
                ", updateBy='" + updateBy + '\'' +
                '}';
    }
}
